@layout("/common/_container.html",{js:["/assets/tool/toolWork/toolWork_edit.js"]}){

<div class="layui-body-header">
    <span class="layui-body-header-title">修改</span>
</div>

<div class="layui-fluid " style="">
    <div class="layui-card">
        <div class="layui-card-body">
            <form id="toolWorkForm" lay-filter="toolWorkForm" class="layui-form layui-form-pane" style="max-width: 700px;margin: 40px auto;">
                <input name="id" type="hidden"/>
                <input name="waveId" type="hidden"/>
                <fieldset class="layui-elem-field layui-field-title" style="margin-top: 2px;">
			    	<legend>修改派工信息</legend>
			  	</fieldset>
                <div class="layui-form-item">
                    <label class="layui-form-label" style="font-weight: 600;">波次<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="wellen" name="wellen" placeholder="请输入波次" type="text" class="layui-input" lay-verify="required" required readonly="readonly" style="background: #E7EAED"/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">交接次数</label>
                    <div class="layui-input-block">
                        <input id="handover" name="handover" placeholder="请选择交接次数" type="number" class="layui-input" lay-verify="" required/>
                    </div>
                </div>
                <div class="layui-form-item" pane="">
                    <label class="layui-form-label">是否直贴</label>
                    <div class="layui-input-block">
                        <input type="radio" name="direct" value="直贴" title="是">
                        <input type="radio" name="direct" value="" title="否" checked="checked">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">选择包材</label>
                    <div class="layui-input-block">
                        <select id="packNumber" name="packNumber" lay-filter="packNumber" lay-verify="" required>
                            <option value="">请选择</option>
                            @for(item in pilist!){
                            <option value="${item.packNumber}">${item.packNumber}，${item.weight}Kg</option>
                            @}
                        </select>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
                        <button class="layui-btn layui-btn-primary" type="button" id="backupPage">&emsp;返回&emsp;</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>

@}